package com.hopu.v1.mapper.front.course;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hopu.v1.pojo.course.CourseFeedback;

import java.util.List;

/**
* @author admin
* @description 针对表【t_course_feedback(课程反馈表)】的数据库操作Mapper
* @createDate 2024-10-08 15:45:12
* @Entity com.hopu.v1.pojo.CourseFeedback
*/
public interface CourseFeedbackMapper extends BaseMapper<CourseFeedback> {

    /**
     * 根据课程id查询课程反馈记录
     * @param id
     * @return
     */
    List<CourseFeedback> selectFeedbackByCourseId (Integer id,String studentId);

    /**
     * 添加学生反馈（根据学生id和课程id）
     * @param courseFeedback
     */
    void insertFeedbackByStudentIdAndCourseId(CourseFeedback courseFeedback);

}




